#ifndef _YL_CRITICAL_SECTION_
#define _YL_CRITICAL_SECTION_

namespace yoctolog
{
	// Just a wrapper for Win32's CRITICAL_SECTION functionality
	class CriticalSection
	{
	public:
		CriticalSection();
		~CriticalSection();

		void Enter();
		void Leave();

	private:
		void *				m_pCriticalSection;

	};
}

#endif